package com.apes.hr.recruit.repository;

import com.apes.framework.jpa.repository.CustomRepository;
import com.apes.hr.base.model.Staffing;
import com.apes.hr.recruit.model.RecruitOrder;

import java.util.List;

/**
 * @author HuJianLin
 * @create 2018-04-28 16:07
 */
public interface RecruitOrderRepository extends CustomRepository<RecruitOrder, String>{

    List<RecruitOrder> findByStaffingAndState(Staffing staffing, String state);
}
